import Vuex from 'vuex'
import actions from './actions'
import getters from './getters'
import mutations from './mutations'
const createStore = () => {
  return new Vuex.Store({
    state: {
      houses: [],
      characters: [],
      cities: [],
      currentHouse: [],
      panHome: [],
      products: [],
      fouseProduct: [],
      authUser: [],
      payments: [],
      // newProduct: [],
      typeProduct: [],
      productInfo: [],
      allProducts: []
    },
    getters,
    actions,
    mutations
  })
}

export default createStore